package com.wang.springcloud.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lele
 * @version 1.0
 * @date 2020/10/25 17:05
 */
@Mapper
@Repository
public interface DeptMapper {

    public boolean addDept(java.com.wang.springcloud.pojo.Dept dept);

    public java.com.wang.springcloud.pojo.Dept queryById(Long id);

    public List<java.com.wang.springcloud.pojo.Dept> queryAll();
}
